﻿class PriorityQueueTest
{
    public static void Main()
    {
        PriorityQueue<int> integerQueue = new PriorityQueue<int>();
        integerQueue.Add(4);
        integerQueue.Add(6);
        integerQueue.Add(1);
        foreach (var item in integerQueue)
        {
            System.Console.WriteLine(item);
        }
        System.Console.WriteLine(integerQueue.GetFirst());
        System.Console.WriteLine(integerQueue[1]);
    }
}